package com.eyas.im.common.datasource;

import java.sql.ResultSet;
import java.util.HashSet;
import java.util.Set;

/**
 * 查询结果与实体类的映射工具类
 */
public interface RowMapper {
    public final static Set<Class<?>> PRIMITIVE_CLASS_SETS = new HashSet<>();
    <T> T rawDataToObject(ResultSet rawData,Class<T> objClazz) throws Exception;
}
